home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / gravity.swf / scripts / frame_107 / PlaceObject2_187_156 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-03-28  |  364 b   |  17 lines

  1. onClipEvent(enterFrame){
  2.    if(myGocommand == "go")
  3.    {
  4.       this._x -= xDirect + _parent.lander.Xparticleshift;
  5.       this._y -= yDirect + _parent.lander.Yparticleshift;
  6.    }
  7.    if(myGoCommand == "blow")
  8.    {
  9.       this._xscale += grow;
  10.       this._yscale += grow;
  11.    }
  12.    if(getTimer() - myTTL >= 2500)
  13.    {
  14.       removeMovieClip(this);
  15.    }
  16. }
  17.